<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Bogofilter-1.2.5
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;11.&nbsp;General Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="asciidoc.html" title=
          "Asciidoc-8.6.9">Prev</a>
          <p>
            Asciidoc-8.6.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="compface.html" title=
          "Compface-1.5.2">Next</a>
          <p>
            Compface-1.5.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="bogofilter" name="bogofilter"></a>Bogofilter-1.2.5
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Bogofilter
        </h2>
        <p>
          The <span class="application">Bogofilter</span> application is a
          mail filter that classifies mail as spam or ham (non-spam) by a
          statistical analysis of the message's header and content (body).
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/bogofilter/bogofilter-1.2.5.tar.xz">
                https://downloads.sourceforge.net/bogofilter/bogofilter-1.2.5.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 8763f87adfff7b802ced177d8c654539
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 784 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 19 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Bogofilter Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../server/db.html" title=
          "Berkeley DB-5.3.28">Berkeley DB-5.3.28</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="gsl.html" title="Gsl-2.6">Gsl-2.6</a> and
          <a class="xref" href="libxml2.html" title=
          "libxml2-2.9.10">libxml2-2.9.10</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../server/lmdb.html" title=
          "lmdb-0.9.24">lmdb-0.9.24</a>, <a class="xref" href=
          "../server/sqlite.html" title="SQLite-3.31.1">SQLite-3.31.1</a>,
          <a class="xref" href="../pst/xmlto.html" title=
          "xmlto-0.0.28">xmlto-0.0.28</a>, <a class="ulink" href=
          "http://fallabs.com/qdbm/">QDBM</a> and <a class="ulink" href=
          "http://fallabs.com/tokyocabinet/">TokyoCabinet</a>
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you do not install the recommended <a class="xref" href=
            "gsl.html" title="Gsl-2.6">Gsl-2.6</a> package then a statically
            linked shipped version will be used instead.
          </p>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/bogofilter">http://wiki.linuxfromscratch.org/blfs/wiki/bogofilter</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Bogofilter
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you plan to change the version of your database library on an
            existing installation, or to change to a different database, read
            the warning at the top of the RELEASE.NOTES file.
          </p>
        </div>
        <p>
          Install <span class="application">Bogofilter</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class=
"command">./configure --prefix=/usr --sysconfdir=/etc/bogofilter &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <code class="option">--with-database=</code>: This switch allows
          you to change the default database from db to either qdbm, sqlite3
          or tokyocabinet.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">bf_compact, bf_copy, bf_tar, bogofilter,
              bogolexer, bogotune, bogoupgrade and bogoutil</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/etc/bogofilter</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="bf_compact" name="bf_compact"></a><span class=
                    "term"><span class=
                    "command"><strong>bf_compact</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    creates a more compact bogofilter working directory with
                    a dump/load cycle.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bf_copy" name="bf_copy"></a><span class=
                    "term"><span class=
                    "command"><strong>bf_copy</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    copies a bogofilter working directory to another
                    directory.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bf_tar" name="bf_tar"></a><span class=
                    "term"><span class=
                    "command"><strong>bf_tar</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    bundles a bogofilter working directory in tar format and
                    copies it to standard output.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bogofilter-prog" name=
                    "bogofilter-prog"></a><span class="term"><span class=
                    "command"><strong>bogofilter</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a fast Bayesian spam filter.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bogolexer" name="bogolexer"></a><span class=
                    "term"><span class=
                    "command"><strong>bogolexer</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to separate messages into tokens and to test new
                    versions of the lexer.l code.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bogotune" name="bogotune"></a><span class=
                    "term"><span class=
                    "command"><strong>bogotune</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    attempts to find optimum parameter settings for
                    bogofilter.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bogoupgrade" name="bogoupgrade"></a><span class=
                    "term"><span class=
                    "command"><strong>bogoupgrade</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    upgrades the bogofilter database to the current version.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="bogoutil" name="bogoutil"></a><span class=
                    "term"><span class=
                    "command"><strong>bogoutil</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    dumps, loads, and maintains bogofilter database files.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-19 16:31:22 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="asciidoc.html" title=
          "Asciidoc-8.6.9">Prev</a>
          <p>
            Asciidoc-8.6.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="compface.html" title=
          "Compface-1.5.2">Next</a>
          <p>
            Compface-1.5.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
